package com.handinglian.employee.mapper;
import com.handinglian.employee.entity.UserTag;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;
import java.util.List;

@Mapper
public interface UserTagMapper {
    int deleteByPrimaryKey(Integer userTagId);

    int insert(UserTag record);

    int insertOrUpdate(UserTag record);

    int insertOrUpdateSelective(UserTag record);

    int insertSelective(UserTag record);

    UserTag selectByPrimaryKey(Integer userTagId);

    int updateByPrimaryKeySelective(UserTag record);

    int updateByPrimaryKey(UserTag record);

    int updateBatch(List<UserTag> list);

    int batchInsert(@Param("list") List<UserTag> list);

    List<UserTag> findByUserId(@Param("userId")Integer userId);

    List<UserTag> findByUserTagIdIn(@Param("userTagIdCollection")Collection<Integer> userTagIdCollection);
}